//
//  RZContentView.h
//  RZIM
//
//  Created by reyzhang on 2021/8/19.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface YMContentView : UIView
@property (nonatomic, assign) CGSize contentSize;

/*!
 注册Frame发生变化的回调

 @param eventBlock Frame发生变化的回调
 */
- (void)registerFrameChangedEvent:(void (^)(CGRect frame))eventBlock;

/*!
 注册Size发生变化的回调

 @param eventBlock Size 发生变化的回调
 */
- (void)registerSizeChangedEvent:(void (^)(CGSize contentSize))eventBlock;
@end

NS_ASSUME_NONNULL_END
